# Define here the models for your scraped items
#
# See documentation in:
# https://docs.scrapy.org/en/latest/topics/items.html

import scrapy

# 明确爬取的目标结构
# 每条数据可以转换成一个item
class MyspidersItem(scrapy.Item):
    # define the fields for your item here like:
    # name = scrapy.Field()
    pass


# 定义装备的Item
class MyItem(scrapy.Item):
    itemId = scrapy.Field()
    name = scrapy.Field()
    price = scrapy.Field()
    maps = scrapy.Field()
    keywords = scrapy.Field()
    item_desc = scrapy.Field()

# 定义豆瓣音乐的Item
class MyDoubanMusicItem(scrapy.Item):
    name = scrapy.Field()
    author = scrapy.Field()
    date = scrapy.Field()
    category = scrapy.Field()
    quality = scrapy.Field()
    style = scrapy.Field()
    rating_nums = scrapy.Field()